package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 复机审核
 * </p>
 *
 * @author Max
 * @since 2020-02-28
 */
public class CommandReview extends Model<CommandReview> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
    /**
     * 外键
     */
   @TableField("Z_COMMAND_SEND_BO")
   private String zCommandSendBo;
    /**
     * 站点
     */
   @TableField("SITE")
   private String site;
    /**
     * 设备编号
     */
   @TableField("RESRCE")
   private String resrce;
    /**
     * 设备描述
     */
   @TableField("RESRCE_DESC")
   private String resrceDesc;
    /**
     * 申请类型
     */
   @TableField("APPLY_TYPE")
   private String applyType;
    /**
     * 事件
     */
   @TableField("EVENT")
   private String event;
    /**
     * 备注
     */
   @TableField("MESSAGE")
   private String message;
    /**
     * 提交人
     */
   @TableField("SUBMITTER")
   private String submitter;
    /**
     * 提交时间
     */
   @TableField("SUBMIT_TIME")
   private Date submitTime;
    /**
     * 审核状态:Y通过，N不通过
     */
   @TableField("REVIEW_STATUS")
   private String reviewStatus;
    /**
     * 创建人
     */
   @TableField("CREATOR")
   private String creator;
    /**
     * 修改人
     */
   @TableField("UPDATER")
   private String updater;
    /**
     * 创建日期
     */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
    /**
     * 更新日期
     */
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getzCommandSendBo() {
      return zCommandSendBo;
   }

   public void setzCommandSendBo(String zCommandSendBo) {
      this.zCommandSendBo = zCommandSendBo;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getResrce() {
      return resrce;
   }

   public void setResrce(String resrce) {
      this.resrce = resrce;
   }

   public String getResrceDesc() {
      return resrceDesc;
   }

   public void setResrceDesc(String resrceDesc) {
      this.resrceDesc = resrceDesc;
   }

   public String getApplyType() {
      return applyType;
   }

   public void setApplyType(String applyType) {
      this.applyType = applyType;
   }

   public String getEvent() {
      return event;
   }

   public void setEvent(String event) {
      this.event = event;
   }

   public String getMessage() {
      return message;
   }

   public void setMessage(String message) {
      this.message = message;
   }

   public String getSubmitter() {
      return submitter;
   }

   public void setSubmitter(String submitter) {
      this.submitter = submitter;
   }

   public Date getSubmitTime() {
      return submitTime;
   }

   public void setSubmitTime(Date submitTime) {
      this.submitTime = submitTime;
   }

   public String getReviewStatus() {
      return reviewStatus;
   }

   public void setReviewStatus(String reviewStatus) {
      this.reviewStatus = reviewStatus;
   }

   public String getCreator() {
      return creator;
   }

   public void setCreator(String creator) {
      this.creator = creator;
   }

   public String getUpdater() {
      return updater;
   }

   public void setUpdater(String updater) {
      this.updater = updater;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String Z_COMMAND_SEND_BO = "Z_COMMAND_SEND_BO";

   public static final String SITE = "SITE";

   public static final String RESRCE = "RESRCE";

   public static final String RESRCE_DESC = "RESRCE_DESC";

   public static final String APPLY_TYPE = "APPLY_TYPE";

   public static final String EVENT = "EVENT";

   public static final String MESSAGE = "MESSAGE";

   public static final String SUBMITTER = "SUBMITTER";

   public static final String SUBMIT_TIME = "SUBMIT_TIME";

   public static final String REVIEW_STATUS = "REVIEW_STATUS";

   public static final String CREATOR = "CREATOR";

   public static final String UPDATER = "UPDATER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "CommandReview{" +
         "handle = " + handle +
         ", zCommandSendBo = " + zCommandSendBo +
         ", site = " + site +
         ", resrce = " + resrce +
         ", resrceDesc = " + resrceDesc +
         ", applyType = " + applyType +
         ", event = " + event +
         ", message = " + message +
         ", submitter = " + submitter +
         ", submitTime = " + submitTime +
         ", reviewStatus = " + reviewStatus +
         ", creator = " + creator +
         ", updater = " + updater +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}